<!-- 用户管理 -->
<div class="manageTitle">
	用户管理
</div>

<div class="content" ng-controller="userManage">
	<div class="addBtn">
		<div class="search">
			<input type="text" placeholder="请输入关键词进行查询搜索" ng-model="keyword" ng-change="searchUserInfo();">
			<a href="javascript:;">搜索</a>
		</div>

		<div class="searchContent">
			<span class="title">搜索内容</span>
			<div class="input-group m-b">
			    <div class="input-group-btn dropdown" dropdown="">
			        <button type="button" class="btn btn-default" dropdown-toggle="" aria-haspopup="true"
			        aria-expanded="false">
			            {{nowSearchKey.name}}
			            <span class="caret">
			            </span>
			        </button>
			        <ul class="dropdown-menu">
			            <li ng-repeat="item in searchKey" ng-click="selectSearchKey(item);">
			                <a href="javascript:;">
			                    {{item.name}}
			                </a>
			            </li>
			        </ul>
			    </div>
			</div>
		</div>
	</div>

	<div class="table">
		<table>
			<thead>
				<tr>
					<th>ID</th>
					<th>用户账号</th>
					<th>绑定驾照1</th>
					<th>绑定驾照2</th>
					<th>绑定驾照3</th>
				</tr>
			</thead>
			<tbody>
				<tr ng-repeat="item in userList">
					<td>{{item.user_id}}</td>
					<td>{{item.login}}</td>
					<td class="hasCursor" ng-click="clickInfo(item.car_no[0]);">{{item.car_no[0]}}</td>
					<td class="hasCursor" ng-click="clickInfo(item.car_no[1]);">{{item.car_no[1]}}</td>
					<td class="hasCursor" ng-click="clickInfo(item.car_no[2]);">{{item.car_no[2]}}</td>
				</tr>
				<tr ng-if="noData">
					<td colspan="6"><img src="../img/noData.png" class="height"></td>
				</tr>
			</tbody>
		</table>

		<ul class="pagination"></ul>
	</div>
</div>

<!-- 查看车牌信息 -->
<script type="text/ng-template" id="carInfo.html">
	<div class="panel-body newExamPaper carInfoDiv">
	    <form class="form-horizontal border">
	    	<p class="title viewDetails">查看详情<span ng-click="cancel();">&times;</span></p>
	    	
	    	<div class="sortAdd carInfo" ng-repeat="item in carDetail">
	    		<p class="clearfix infoCourse">
	    			<label>车牌号</label>
	    			<span class="showSpan">{{item.car_no}}</span>
	    		</p>
	    		<p class="clearfix infoCourse">
	    			<label>电话号码</label>
	    			<span class="showSpan">{{item.mobile}}</span>
	    		</p>
	    		<p class="clearfix infoCourse">
	    			<label>车架号码后6位</label>
	    			<span class="showSpan">{{item.frame_no}}</span>
	    		</p>
	    		<p class="clearfix infoCourse">
	    			<label>发动机号后6位</label>
	    			<span class="showSpan">{{item.engine_no}}</span>
	    		</p>
	    	</div>
	    </form>
	</div>
</script>